{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% extends 'base-protocol-mozilla.html' %}

{% block page_title %}{{ ftl('newsletters-subscribe-to-the-newsletter') }}{% endblock page_title %}

{% block page_desc %}{{ ftl('newsletters-get-security-and-privacy-news-and-tips')}}{% endblock %}

{% block body_class %}{{ super() }} newsletter-security-privacy-news{% endblock %}

{% block page_css %}
  {{ css_bundle('protocol-newsletter') }}
  {{ css_bundle('newsletter-security-privacy-news') }}
{% endblock %}

{% block content %}
<main class= "mzp-t-content-sm">
  <section class="section-subscribe">
    <header class="mzp-l-content mzp-t-content-lg">
      <h1 class="page-title">{{ self.page_title() }}</h1>
      <h2 class="section-title">{{ self.page_desc() }}</h2>
    </header>
    <div class="mzp-l-content mzp-t-content-sm">
      {{ email_newsletter_form(newsletters='security-privacy-news', include_title=False, spinner_color='#0c99d5') }}
    </div>
  </section>
</main>
{% endblock %}

{% block js %}
  {{ js_bundle('newsletter') }}
{% endblock %}
